package cn.zyx.Config;



import java.util.HashMap;

/**
 * 操作消息提醒
 *
 * @author suree
 */
public class Result extends HashMap<String, Object> {


    public Result() {

    }

    public Result(int code, String msg, Object data, long count){
        super.put("code",code);
        super.put("msg",msg);
        super.put("data",data);
        super.put("count",count);
    }


    public static Result success(int code, String msg,Object data,long count){
        return new Result(code,msg,data,count);
    }






}
